package com.glink.manage.vo.person;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDate3DeSerializer;
import com.glink.common.serializer.JsonDate3Serializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* @author  qiushaoshan
* @since 2025-01-13
*/
@ApiModel(value="PersonSimpleInfoCardVO对象", description="人员管理-基础信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PersonSimpleInfoCardVO implements Serializable {

    private static final long serialVersionUID = 4375385978115184095L;

    @ApiModelProperty(value = "人员主键")
    private String objId;

    @ApiModelProperty(value = "用户身份证号")
    private String card;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "用户性别")
    private String sex;

    @ApiModelProperty(value = "用户生日")
    @JsonSerialize(using = JsonDate3Serializer.class)
    @JsonDeserialize(using = JsonDate3DeSerializer.class)
    private Date birth;

    @ApiModelProperty(value = "所属单位")
    private String orgId;

    @ApiModelProperty(value = "人员类型")
    private String type;

    @ApiModelProperty(value = "人脸照片")
    private String profilePicture;

    @ApiModelProperty(value = "是否黑名单；0否，1是")
    private String ifBlacklist;

    @ApiModelProperty(value = "账号ID")
    private String accountObjId;

    @ApiModelProperty(name = "status", notes = "用户状态(UserType：01：启用、02：禁用、03：锁定)")
    private String status;
    
    @ApiModelProperty(value = "资质证书")
    private List<PersonCertInfoVO> certList;
}
